package com.test.ticket.service.impl;

import com.test.ticket.service.TicketService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * @create: 2019-06-29 23:45
 **/
@Component //因为使用bubbo，所以添加spring容器注解
@Service //将服务发布出去
public class TicketServiceImpl implements TicketService {

    @Override
    public String getTicket() {
        return "我怎能不变态";
    }
}
